package com.ssps.back.platform.service.Impl;

import com.ssps.back.platform.service.RoleService;
import com.ssps.entity.Role;
import com.ssps.mapper.RoleMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author li
 * @time 2020/07/22 18:59:34
 */

@Service
public class RoleServiceImpl implements RoleService {

    @Autowired
    RoleMapper roleMapper;

    @Override
    public List<Role> findAll() {
        List<Role> roleList=roleMapper.selectByExample(null);
        return roleList;
    }
}
